package com.finance.service.customer;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.finance.dao.customer.CallRecordInfoMapper;
import com.finance.entity.customer.CallRecordInfo;

@Service("CallRecordInfoService")
public class CallRecordInfoService {
	
	@Resource(name = "CallRecordInfoMapper")
	private CallRecordInfoMapper callRecordInfoMapper;
	
    public void deleteByPrimaryKey(Integer callId){
    	callRecordInfoMapper.deleteByPrimaryKey(callId);
    }

    public void insert(CallRecordInfo record){
    	callRecordInfoMapper.insert(record);
    }

    public void insertSelective(CallRecordInfo record){
    	callRecordInfoMapper.insertSelective(record);
    }

    public CallRecordInfo selectByPrimaryKey(Integer callId){
    	return callRecordInfoMapper.selectByPrimaryKey(callId);
    }

    public void updateByPrimaryKeySelective(CallRecordInfo record){
    	callRecordInfoMapper.updateByPrimaryKeySelective(record);
    }

    public void updateByPrimaryKey(CallRecordInfo record){
    	callRecordInfoMapper.updateByPrimaryKey(record);
    }
    
    public List<CallRecordInfo> findByList(String kfUserId){
    	return callRecordInfoMapper.findByList(kfUserId);
    }

}
